@layout("/backend/common/_container.html"){
<div class="dhcc-form">
	<form method='post' id="deptInfoForm" name="deptInfoForm" enctype="multipart/form-data">
		<#Hidden id="id" value="${dept.id}"/>
		<#Input id="name" name="部门名称" value="${dept.name}"/>

		<#Input id="fullname" name="部门全称" value="${dept.fullname}"/>

		<#Input id="code" name="部门编码" value="${dept.code}"/>

		<#Input id="hisCode" name="HIS编码" value="${dept.hisCode}"/>

		<#SelectTree id="parentId" isMulti="false" selectRoot="true" url="/tree/dept" name="上级部门" value="${dept.parentId}" textValue="${parentName}"/>

		<#Radio id="deptType" name="部门类型" code="dept_type" value="${dept.deptType}"/>

		<#Checkbox id="deptAttr" name="部门属性" code="dept_attr" value="${dept.deptAttr}"/>

		<#Select id="deptGroup" name="部门组" width="580px" code="dept_group" value="${dept.deptGroup}"/>
		<#UserSelectTree id="leader" name="部门领导" value="${dept.leader}" textValue="${leaderName}"/>

		<#UserSelectTree id="superior" name="分管领导" value="${dept.superior}" textValue="${superiorName}"/>

		<#Input id="longit" name="经度" type="double" value="${dept.longit}"/>
		<#Input id="latit" name="纬度" type="double" value="${dept.latit}"/>
		<#Input id="weight" name="排序" type="number" value="${dept.weight}"/>
		<#Textarea id="description" name="备注" value="${dept.description}"/>

		<div class="toolbar">
			<#Button name="保存" id="ensure" icon="icon-w-save" clickFun="DeptInfoDlg.editSubmit()"/>
			<#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="DeptInfoDlg.close()"/>
		</div>
	</form>
</div>
<script src="${ctxPath}/static/backend/system/dept/dept_info.js"></script>
@}
